package other_其他模式.composite_entity_pattern_组合实体模式;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: hihi
 * @Date: 2020/07/10/10:53
 * @Description: 组合对象
 */
public class CompositeEntity {

	CoarseGrainedObject coarseGrainedObject = new CoarseGrainedObject();

	public void setData(String data1, String data2) {
		coarseGrainedObject.setData(data1, data2);
	}

	public String[] getData() {
		return coarseGrainedObject.getData();
	}

}
